<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

</head>
<body>
    
    <!-- 游戏主容器 -->
    <h1>贪吃蛇</h1>
    <div class="container"> 
        <div class="game">
            <!-- 蛇容器 -->
            <div class="snake" id="snake">
                <!-- 蛇的各部分 -->
               <div></div>
            </div>
            <!-- 食物容器 -->
            <div class="food" id="food"></div>
        </div>
        <div class="score">
            <div>
                <span>SCORE:</span>
                <span id="score">3</span>
            </div>
            <div>
                <span>LEVEL:</span>
                <span id="level">2</span>
            </div>
        </div>
    </div>
</body>
</html>